///////////////////////////////////////////////////////////
//  SaveItemCommand.h
//  Implementation of the Class SaveItemCommand
//  Created on:      21-Sep-2013 12:09:55 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_B4F004E7_A519_4b9f_90A8_2A3AD13BB4A3__INCLUDED_)
#define EA_B4F004E7_A519_4b9f_90A8_2A3AD13BB4A3__INCLUDED_

#include "ICommand.h"
#include "CCreateItemView.h"
#include "CCreateTemplateView.h"

namespace UI
{
  namespace CMD
  {
    class SaveItemCommand : public ICommand
    {

    public:
      SaveItemCommand(CCreateItemView* createItem, CCreateTemplateView* createTemplate);
      virtual ~SaveItemCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CCreateItemView* m_createItemView;

    };

  }
}

#endif // !defined(EA_B4F004E7_A519_4b9f_90A8_2A3AD13BB4A3__INCLUDED_)
